// Button variants

@mixin button-variant($color, $background, $border) {
  color: $color;
  background-color: $background;
  border-color: $border;

  &:focus,
  &.focus {
    color: $color;
  }

  &:hover {
    color: $color;
  }


  &.disabled,
  &[disabled],
  fieldset[disabled] & {

    &:hover,
    &:focus,
    &.focus {
      background-color: $background;
      border-color: $border;
    }
  }

  .badge {
    color: $background;
    background-color: $color;
  }
}


@mixin button-outline($hover-color, $color) {
  border-color: $color;
  color: $color;
  background-color: $white-color;

  &:focus,
  &.focus {
    background-color: $hover-color;
    color: $color;
  }

  &:hover {
    background-color: $color;
    color: $hover-color;
  }

  &:active,
  &.active,
  .open>&.dropdown-toggle {
    background-color: $hover-color;
    color: $color;

    &:hover,
    &:focus,
    &.focus {
      background-color: $color;
      color: $hover-color;
    }
  }

  &.disabled,
  &[disabled],
  fieldset[disabled] & {

    &:hover,
    &:focus,
    &.focus {
      border-color: $color;
    }
  }

  .badge {
    color: $color;
  }
}